﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="return.aspx.cs" Inherits="basic_return" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title><link href="../css/addbook.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div> <div>
<center>
    <div class="wrap">
        <div class="top">
            <div class="top1">
              
            </div>
        </div>
        <div class="shortnfo">
            <h2>当前位置：基本信息->退货信息</h2>
            <div class="menuitems">
                
           <ul>
                      <li><a id="A1"  href="../master/index.aspx" runat="server">首页</a></li>
                      
                     
                      <li><a href="../master/basic.aspx">退出</a></li>
                  </ul>
            </div>
        </div>
        <div class="content">
           <table border="0" style="table-layout:fixed;width:100%;text-align:left;height:100%" >
               <tr>
                   <td>
                   图书编号： <br /> <asp:TextBox ID="TextBox2" runat="server" Width="177px"></asp:TextBox>
                   </td>
                   <td>
                   图书名称： <br /> <asp:TextBox ID="TextBox1" runat="server" Width="177px"></asp:TextBox>
                   </td><td >
                     
                     <br />  <asp:Button ID="Button1" runat="server" Text="查找" OnClick="Button1_Click" />
                     
                   </td>
                  
               </tr>

               <tr>
                    <td colspan="3">

<asp:GridView ID="Gv1" runat="server" AutoGenerateColumns="False" DataKeyNames="编号"  Height="100%" Width="100%" AllowPaging="true" PageSize="5" OnPageIndexChanging="Gv1_PageIndexChanging">
    <Columns>
        <asp:BoundField DataField="编号" HeaderText="编号" ReadOnly="True" SortExpression="编号" />
        <asp:BoundField DataField="图书名称" HeaderText="图书名称" SortExpression="图书名称" />
        <asp:BoundField DataField="退货原因" HeaderText="退货原因" SortExpression="退货原因" />
        <asp:BoundField DataField="用户账户" HeaderText="用户账户" SortExpression="用户账户" />
    </Columns>
                        <HeaderStyle HorizontalAlign="Center" />
    <RowStyle Height="46px" HorizontalAlign="Center" />
                        </asp:GridView>

                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString9 %>" ProviderName="<%$ ConnectionStrings:ConnectionString9.ProviderName %>" SelectCommand="select 编号,图书名称,退货原因,用户账户 from return_goods"></asp:SqlDataSource>

                </td>
                   </tr>


            </table>
        </div>
         <div class="footer">
    <p>Copyright ?2019  All Rights Reserved</p> 
     </div>
    </div>



</center>
    </div>
    </form>
</body>
</html>
